﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LCDSim
{
    public class Display : LCDObject
    {
        int numOfLines;

        public int NumOfLines
        {
            get { return numOfLines; }

        }
        LCDFont lcdFontStyle = LCDFont.FiveByEight;

        public LCDFont LcdFontStyle
        {
            get { return lcdFontStyle; }
        }

        public bool Shift;
        public int Offset; // offset given by shift operations

        Cursor cursor;

        public Cursor Cur
        {
            get { return cursor; }
            set { cursor = value; }
        }

        bool scrollDisp = false; //Scroll Display @ Entry Mode

        public bool ScrollDisp
        {
            get { return scrollDisp; }
            set { scrollDisp = value; }
        }

        //constructor
        public Display(int lines, LCDFont lcdfont)
        {
            numOfLines = lines;
            lcdFontStyle = lcdfont;
            cursor = new Cursor();
        }

       public void Render(Cursor cursor,int offset, byte[] ddram)
        {

           
        }

        public void Render(byte[] ddram)
       {

       }
    }
	
}
